using System.ComponentModel.DataAnnotations;
using TiaoTaoHelper.Wtm.Models;
using WalkingTec.Mvvm.Core;

namespace HengTong.ViewModel._Admin.FrameworkGroupVMs
{
    public class FrameworkGroupTemplateVm : BaseTemplateVM
    {
        [Display(Name = "编码")]
        public ExcelPropety GroupCodeExcel = ExcelPropety.CreateProperty<SysGroup>(x => x.GroupCode);
        [Display(Name = "名称")]
        public ExcelPropety GroupNameExcel = ExcelPropety.CreateProperty<SysGroup>(x => x.GroupName); 
        [Display(Name = "备注")]
        public ExcelPropety GroupRemarkExcel = ExcelPropety.CreateProperty<SysGroup>(x => x.GroupRemark);
    }

    public class FrameworkGroupImportVm : BaseImportVM<FrameworkGroupTemplateVm, FrameworkGroup>
    {
    }
}
